package org.setamv.springcloud.feign.interceptor;

import feign.RequestInterceptor;
import feign.RequestTemplate;

/**
 * 自定义Feign的拦截器，用于拦截请求信息<p>
 * 拦截器会在进入Client执行请求之前触发
 */
public class CustomizedFeignInterceptor implements RequestInterceptor {

    @Override
    public void apply(RequestTemplate requestTemplate) {
        System.out.println("进入拦截器");
    }
}
